Skip to content

Port list_renamed_vids.py into plexadm as list renames subcommand#13

Merged
jasmeralia merged 1 commit into
masterfrom
feature/list-renames
May 19, 2026
Merged

Port list_renamed_vids.py into plexadm as list renames subcommand#13
jasmeralia merged 1 commit into
masterfrom
feature/list-renames

Conversation

@jasmeralia

Copy link
Copy Markdown
Owner

Summary

  • Adds plexadm list renames [--script] [filter] as a proper CLI subcommand, replacing the legacy reference/legacy-python/list_renamed_vids.py script
  • Human-readable diff mode by default; --script outputs shell mv commands ready to execute
  • Optional positional filter narrows results to videos whose title or file path contains the given text
  • Preserves all original exclusion logic: Message/Post/PPV files and titles containing ? are skipped
  • --base-dir overrides the path prefix stripped from file locations (default: /data/NSFW Scenes/)
  • Deletes the now-redundant legacy script and documents the new command in README

Test plan

  • make lintfix && make lint && make test pass clean
  • plexadm list renames "TUSHY" runs against live Plex and returns expected results
  • plexadm list renames --script "TUSHY" outputs mv commands in correct format

🤖 Generated with Claude Code

Add `plexadm list renames [--script] [filter]` which iterates all Plex
videos and reports those whose filename does not match their title.
Output is either a human-readable diff or shell mv commands (--script).
Excludes Message/Post/PPV entries and titles containing '?', matching
the original script's behaviour. Adds --base-dir to override the path
prefix stripped from file locations (default: /data/NSFW Scenes/).

Remove reference/legacy-python/list_renamed_vids.py now that the
functionality is covered by the CLI. Update README with usage examples.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jasmeralia jasmeralia merged commit f062c4c into master May 19, 2026
@jasmeralia jasmeralia deleted the feature/list-renames branch May 19, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant